package com.suny.FarmStocks.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("farm_stocks")
public class FarmStocks {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer farmId;
    private Integer penId;
    private Integer fenceId;
    private Integer livestockCount;
    private Integer status; // 1=在栏, 0=已出栏
    private Date createdTime;
    private Date updatedTime;
}